package com.air.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TicketVO implements Serializable {
    private Long id;
    //旅客id
    private Long passengerId;
    //机票所属航班id
    private Long flightId;
    //机票号
    private String ticketNumber;
    //航班号
    private String flightNumber;
    //座位号
    private String seatNumber;
    //价格
    private Double price;
    //起飞地点
    private String flightFrom;
    //降落地点
    private String flightTo;
    //状态 1：未购买 2：已支付 3:无效票
    private Integer status;
    //航班时长
    private Integer flightTime;
    //起飞时间
    private LocalDateTime flightStartTime;
    //降落时间
    private LocalDateTime flightEndTime;

    //更新时间
    private LocalDateTime updateTime;
}
